"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tokenTime = exports.img = exports.tokenPath = exports.filestr = exports.key = exports.dbtab = exports.dbrootpwd = exports.dbrootname = exports.httpsPort = exports.httpPort = exports.isHttps = void 0;
//端口号
exports.isHttps = true;
exports.httpPort = 80;
exports.httpsPort = 443;
//cookie秘钥
exports.dbrootname = "root";
exports.dbrootpwd = "123456";
exports.dbtab = "grbk";
exports.key = "feifan";
//文件名
exports.filestr = "file";
//token拦截请求
exports.tokenPath = [
    { path: "/api/user/islogin", method: "POST" },
    { path: "/api/user/file", method: "POST" },
    { path: "/api/user/userupdate", method: "POST" },
    { path: "/api/article/add", method: "POST" },
    { path: "/api/comment/submit", method: "POST" },
    { path: "/api/articlecomment/add", method: "POST" },
    // { path: "/api/comment/update", method: "POST" },
    { path: "/api/user/getuserlist", method: "POST" },
    { path: "/api/user/rootchange", method: "POST" },
];
//那些文件格式可以上传
exports.img = [".img", ".png", "jpeg", ".webs", ".gif"];
//token有些事件
exports.tokenTime = 10800;
